<template>
	<div class="person">
		<h1>我是Person组件</h1>
		<h1>{{time | chuli('YYYY年MM月DD日')}}</h1>
		<button @click="welcome(name)">点我欢迎你</button>
	</div>
</template>

<script>
	export default {
		name:'Person',
		data() {
			return {
				time:1218196800000,
				name:'张三'
			}
		},
	}
</script>

<style scoped>
	.person{
		background-color: skyblue;
		padding: 20px;
	}
</style>